[INFO] fetching crate linux-input 0.1.0...
[INFO] checking linux-input-0.1.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate linux-input 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate linux-input 0.1.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate linux-input 0.1.0
[INFO] finished tweaking crates.io crate linux-input 0.1.0
[INFO] tweaked toml for crates.io crate linux-input 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d37e417389ff220d3f3f63d9ffa3dfd1dc0e6486a5eede4f06c50cddf805356
[INFO] running `Command { std: "docker" "start" "-a" "6d37e417389ff220d3f3f63d9ffa3dfd1dc0e6486a5eede4f06c50cddf805356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d37e417389ff220d3f3f63d9ffa3dfd1dc0e6486a5eede4f06c50cddf805356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d37e417389ff220d3f3f63d9ffa3dfd1dc0e6486a5eede4f06c50cddf805356", kill_on_drop: false }`
[INFO] [stdout] 6d37e417389ff220d3f3f63d9ffa3dfd1dc0e6486a5eede4f06c50cddf805356
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 250fac440328c1d2a7448e0b84d36db59169bdfccc617053c6913f0db7017301
[INFO] running `Command { std: "docker" "start" "-a" "250fac440328c1d2a7448e0b84d36db59169bdfccc617053c6913f0db7017301", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking linux-input v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut iter = EventBitsIter::< u16 >::new( &[] );
[INFO] [stdout]    |                    ---------------------------  ^^^ expected `Cow<'_, [u8]>`, found `&[_; 0]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[_; 0]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:72:49
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut iter = EventBitsIter::< u16 >::new( &[0] );
[INFO] [stdout]    |                    ---------------------------  ^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:78:49
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut iter = EventBitsIter::< u16 >::new( &[0, 0, 0, 0] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 4]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 4]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0, 0, 0, 0]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:84:49
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut iter = EventBitsIter::< u16 >::new( &[0b0000_0001] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0b0000_0001]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let mut iter = EventBitsIter::< u16 >::new( &[0b1000_0000] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0b1000_0000]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:98:49
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut iter = EventBitsIter::< u16 >::new( &[0b1000_0001] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0b1000_0001]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/event_bits_iter.rs:106:49
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut iter = EventBitsIter::< u16 >::new( &[0, 0b1000_0001, 0] );
[INFO] [stdout]     |                    ---------------------------  ^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 3]`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]             found reference `&[{integer}; 3]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/event_bits_iter.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]     |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0, 0b1000_0001, 0]) );
[INFO] [stdout]     |                                                 +++++++++++++++++++++++++++                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/input.rs:377:5
[INFO] [stdout]     |
[INFO] [stdout] 377 |     std::mem::drop( timeout );
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^-------^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     argument has type `Option<timespec>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linux-input` (lib test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "250fac440328c1d2a7448e0b84d36db59169bdfccc617053c6913f0db7017301", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "250fac440328c1d2a7448e0b84d36db59169bdfccc617053c6913f0db7017301", kill_on_drop: false }`
[INFO] [stdout] 250fac440328c1d2a7448e0b84d36db59169bdfccc617053c6913f0db7017301
[INFO] checking linux-input-0.1.0 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate linux-input 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate linux-input 0.1.0 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate linux-input 0.1.0
[INFO] finished tweaking crates.io crate linux-input 0.1.0
[INFO] tweaked toml for crates.io crate linux-input 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 06c9c9bc9c57717d718ee466fcd7cb933a312bffc40bc07a9d38fe6480f4de22
[INFO] running `Command { std: "docker" "start" "-a" "06c9c9bc9c57717d718ee466fcd7cb933a312bffc40bc07a9d38fe6480f4de22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06c9c9bc9c57717d718ee466fcd7cb933a312bffc40bc07a9d38fe6480f4de22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06c9c9bc9c57717d718ee466fcd7cb933a312bffc40bc07a9d38fe6480f4de22", kill_on_drop: false }`
[INFO] [stdout] 06c9c9bc9c57717d718ee466fcd7cb933a312bffc40bc07a9d38fe6480f4de22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 824bb460498e6e37ead3ced7b7f57a8f71f8906f12431f709462d57048f482ec
[INFO] running `Command { std: "docker" "start" "-a" "824bb460498e6e37ead3ced7b7f57a8f71f8906f12431f709462d57048f482ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking linux-input v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/input.rs:489:88
[INFO] [stdout]     |
[INFO] [stdout] 489 |             crate::input_sys::evdev_get_event_bits( self.fp.as_raw_fd(), kind, buffer[ length..length + 1024 ].as_mut_ptr(), 1024 )?
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/uinput.rs:258:21
[INFO] [stdout]     |
[INFO] [stdout] 258 |         setup.name[ 0..name.len() ].copy_from_slice( name.as_bytes() );
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/utils.rs:19:50
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let name = String::from_utf8_lossy( &buffer[ 0..(length as usize) - 1 ] );
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/input.rs:489:88
[INFO] [stdout]     |
[INFO] [stdout] 489 |             crate::input_sys::evdev_get_event_bits( self.fp.as_raw_fd(), kind, buffer[ length..length + 1024 ].as_mut_ptr(), 1024 )?
[INFO] [stdout]     |                                                                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/uinput.rs:258:21
[INFO] [stdout]     |
[INFO] [stdout] 258 |         setup.name[ 0..name.len() ].copy_from_slice( name.as_bytes() );
[INFO] [stdout]     |                     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/utils.rs:19:50
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let name = String::from_utf8_lossy( &buffer[ 0..(length as usize) - 1 ] );
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut iter = EventBitsIter::< u16 >::new( &[] );
[INFO] [stdout]    |                    ---------------------------  ^^^ expected `Cow<'_, [u8]>`, found `&[_; 0]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[_; 0]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:72:49
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut iter = EventBitsIter::< u16 >::new( &[0] );
[INFO] [stdout]    |                    ---------------------------  ^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:78:49
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut iter = EventBitsIter::< u16 >::new( &[0, 0, 0, 0] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 4]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 4]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0, 0, 0, 0]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:84:49
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut iter = EventBitsIter::< u16 >::new( &[0b0000_0001] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 84 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0b0000_0001]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let mut iter = EventBitsIter::< u16 >::new( &[0b1000_0000] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0b1000_0000]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/event_bits_iter.rs:98:49
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut iter = EventBitsIter::< u16 >::new( &[0b1000_0001] );
[INFO] [stdout]    |                    ---------------------------  ^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 1]`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]            found reference `&[{integer}; 1]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/event_bits_iter.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]    |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0b1000_0001]) );
[INFO] [stdout]    |                                                 +++++++++++++++++++++++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/event_bits_iter.rs:106:49
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut iter = EventBitsIter::< u16 >::new( &[0, 0b1000_0001, 0] );
[INFO] [stdout]     |                    ---------------------------  ^^^^^^^^^^^^^^^^^^^^ expected `Cow<'_, [u8]>`, found `&[{integer}; 3]`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Cow<'_, [u8]>`
[INFO] [stdout]             found reference `&[{integer}; 3]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/event_bits_iter.rs:24:19
[INFO] [stdout]     |
[INFO] [stdout] 24  |     pub(crate) fn new( buffer: Cow< 'a, [u8] > ) -> Self {
[INFO] [stdout]     |                   ^^^  -----------------------
[INFO] [stdout] help: try wrapping the expression in `std::borrow::Cow::Borrowed`
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut iter = EventBitsIter::< u16 >::new( std::borrow::Cow::Borrowed(&[0, 0b1000_0001, 0]) );
[INFO] [stdout]     |                                                 +++++++++++++++++++++++++++                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing
[INFO] [stdout]    --> src/input.rs:377:5
[INFO] [stdout]     |
[INFO] [stdout] 377 |     std::mem::drop( timeout );
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^-------^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     argument has type `Option<timespec>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     = note: `#[warn(dropping_copy_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linux-input` (lib test) due to 8 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "824bb460498e6e37ead3ced7b7f57a8f71f8906f12431f709462d57048f482ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "824bb460498e6e37ead3ced7b7f57a8f71f8906f12431f709462d57048f482ec", kill_on_drop: false }`
[INFO] [stdout] 824bb460498e6e37ead3ced7b7f57a8f71f8906f12431f709462d57048f482ec
